package com.ruoyi.exa.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 试卷题目对象 exa_parper_class
 * 
 * @author linziheng
 * @date 2025-07-15
 */
@ApiModel(value = "ExaParperClass", description = "试卷题目对象")
public class ExaParperClass extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @ApiModelProperty(value = "试题ID")
    private Long id;

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    /** 试卷ID */
    @Excel(name = "试卷ID")
    @ApiModelProperty(value = "试卷ID")
    private Long parperId;
    @ApiModelProperty(value = "题目名称")
    private String className;
    @ApiModelProperty(value = "题目类型")
    private String type;
    /** 题目ID */
    @Excel(name = "题目ID")
    @ApiModelProperty(value = "题目ID")
    private Long classId;

    /** 排序 */
    @Excel(name = "排序")
    @ApiModelProperty(value = "排序")
    private Long orderNum;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setParperId(Long parperId) 
    {
        this.parperId = parperId;
    }

    public Long getParperId() 
    {
        return parperId;
    }

    public void setClassId(Long classId)
    {
        this.classId = classId;
    }

    public Long getClassId()
    {
        return classId;
    }
    public void setOrderNum(Long orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() 
    {
        return orderNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parperId", getParperId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("orderNum", getOrderNum())
            .toString();
    }
}
